package com.example.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@FeignClient("gmall-ware")
public interface WareSkuFeignService {

    @RequestMapping("/ware/waresku/hasstock")
    public Map<Long,Boolean> skuIsStock(@RequestBody List<Long> skuIds);
}
